package com.Shuang.Frame;

import org.junit.Test;

public class TestFrame {
    @Test //用于测试框架，将学生类和老师类的各个信息保存到文件中去
    public void save() throws Exception {
        Student s1 = new Student("孙悟空", '男', 500, "吃桃子");
        Teacher t1 = new Teacher("菩提老祖", 50000);

        FrameSaveInfo.SaveInfo(s1);
        FrameSaveInfo.SaveInfo(t1);
    }
}
